import request from '../utils/request';

// 示例：提交预约充电（post接口）
export const userLogin = (data) => {
  return request.post('/e6/tcharge/user/userLogin', data); 
};

// 示例：修改用户信息（post接口）
export const getChargeRecord = (data) => {
    return request.post('/e6/h5charge/getChargeRecord', data); 
};

export const instantCharging = (data) => {
    return request.post('/e6/h5charge/instantCharging', data); 
};

export const getChargingVehInfo = (data) => {
    return request.post('/e6/h5charge/getChargingVehInfo', data); 
};

export const getTotalControlInfo = (data) => {
    return request.post('/e6/h5charge/getTotalControlInfo', data); 
};

export const updateSocAndTime = (data) => {
    return request.post('/e6/h5charge/updateSocAndTime', data); 
};


